---
layout: "default"
title: "Operator: >>="
description: "Swift documentation for the '>>=' operator."
root: "/v3.1"
---

<code class="language-swift"> operator &gt;&gt;= {
    associativity right
    precedence 
    assignment
}</code>

<h3>Declarations</h3>

<div class="declaration" id="func-gtgteq_-inout-int-rhs_-int">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-gtgteq_-inout-int-rhs_-int">func &gt;&gt;=(<wbr>_:<wbr> inout Int, rhs: Int)</a>
        
<div class="comment collapse" id="comment-func-gtgteq_-inout-int-rhs_-int"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func &gt;&gt;=(lhs: inout Int, rhs: Int)</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-gtgteq_-inout-int8-rhs_-int8">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-gtgteq_-inout-int8-rhs_-int8">func &gt;&gt;=(<wbr>_:<wbr> inout Int8, rhs: Int8)</a>
        
<div class="comment collapse" id="comment-func-gtgteq_-inout-int8-rhs_-int8"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func &gt;&gt;=(lhs: inout Int8, rhs: Int8)</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-gtgteq_-inout-int16-rhs_-int16">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-gtgteq_-inout-int16-rhs_-int16">func &gt;&gt;=(<wbr>_:<wbr> inout Int16, rhs: Int16)</a>
        
<div class="comment collapse" id="comment-func-gtgteq_-inout-int16-rhs_-int16"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func &gt;&gt;=(lhs: inout Int16, rhs: Int16)</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-gtgteq_-inout-int32-rhs_-int32">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-gtgteq_-inout-int32-rhs_-int32">func &gt;&gt;=(<wbr>_:<wbr> inout Int32, rhs: Int32)</a>
        
<div class="comment collapse" id="comment-func-gtgteq_-inout-int32-rhs_-int32"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func &gt;&gt;=(lhs: inout Int32, rhs: Int32)</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-gtgteq_-inout-int64-rhs_-int64">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-gtgteq_-inout-int64-rhs_-int64">func &gt;&gt;=(<wbr>_:<wbr> inout Int64, rhs: Int64)</a>
        
<div class="comment collapse" id="comment-func-gtgteq_-inout-int64-rhs_-int64"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func &gt;&gt;=(lhs: inout Int64, rhs: Int64)</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-gtgteq_-inout-uint-rhs_-uint">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-gtgteq_-inout-uint-rhs_-uint">func &gt;&gt;=(<wbr>_:<wbr> inout UInt, rhs: UInt)</a>
        
<div class="comment collapse" id="comment-func-gtgteq_-inout-uint-rhs_-uint"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func &gt;&gt;=(lhs: inout UInt, rhs: UInt)</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-gtgteq_-inout-uint8-rhs_-uint8">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-gtgteq_-inout-uint8-rhs_-uint8">func &gt;&gt;=(<wbr>_:<wbr> inout UInt8, rhs: UInt8)</a>
        
<div class="comment collapse" id="comment-func-gtgteq_-inout-uint8-rhs_-uint8"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func &gt;&gt;=(lhs: inout UInt8, rhs: UInt8)</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-gtgteq_-inout-uint16-rhs_-uint16">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-gtgteq_-inout-uint16-rhs_-uint16">func &gt;&gt;=(<wbr>_:<wbr> inout UInt16, rhs: UInt16)</a>
        
<div class="comment collapse" id="comment-func-gtgteq_-inout-uint16-rhs_-uint16"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func &gt;&gt;=(lhs: inout UInt16, rhs: UInt16)</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-gtgteq_-inout-uint32-rhs_-uint32">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-gtgteq_-inout-uint32-rhs_-uint32">func &gt;&gt;=(<wbr>_:<wbr> inout UInt32, rhs: UInt32)</a>
        
<div class="comment collapse" id="comment-func-gtgteq_-inout-uint32-rhs_-uint32"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func &gt;&gt;=(lhs: inout UInt32, rhs: UInt32)</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-gtgteq_-inout-uint64-rhs_-uint64">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-gtgteq_-inout-uint64-rhs_-uint64">func &gt;&gt;=(<wbr>_:<wbr> inout UInt64, rhs: UInt64)</a>
        
<div class="comment collapse" id="comment-func-gtgteq_-inout-uint64-rhs_-uint64"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func &gt;&gt;=(lhs: inout UInt64, rhs: UInt64)</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-gtgteq-t-where-t_-fixedwidthinteger_-inout-t-rhs_-t">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-gtgteq-t-where-t_-fixedwidthinteger_-inout-t-rhs_-t">func <wbr>&gt;&gt;= &lt;T where T : FixedWidthInteger&gt;(<wbr>_:<wbr> inout T, rhs: T)</a>
        
<div class="comment collapse" id="comment-func-gtgteq-t-where-t_-fixedwidthinteger_-inout-t-rhs_-t"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func &gt;&gt;=&lt;T where T : FixedWidthInteger&gt;(lhs: inout T, rhs: T)</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-gtgteq-t-u-where-t_-fixedwidthinteger-u_-binaryinteger_-inout-t-rhs_-u">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-gtgteq-t-u-where-t_-fixedwidthinteger-u_-binaryinteger_-inout-t-rhs_-u">func <wbr>&gt;&gt;= &lt;T, U where T :<wbr> FixedWidthInteger, U : BinaryInteger&gt;(<wbr>_:<wbr> inout T, rhs: U)</a>
        
<div class="comment collapse" id="comment-func-gtgteq-t-u-where-t_-fixedwidthinteger-u_-binaryinteger_-inout-t-rhs_-u"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func &gt;&gt;=&lt;T, U where T : FixedWidthInteger, U : BinaryInteger&gt;(lhs: inout T, rhs: U)</code>
    
    
</div></div>
</div>
